import { fetch } from '@/little/fetch';

export const merchantApply = (meta, type) => fetch.post('/v1/merchant/auth', { meta, type });
export const merchantApplyInfo = (type) => fetch.get(`/v1/merchant/auth`, { type });
export const merchantApplyUpdate = (id, meta, type) => fetch.post(`/v1/merchant/auth/${id}`, { meta, type });
export const merchantCategory = () => fetch.get(`/v1/merchant/category`);
export const merchantService = () => fetch.get(`/v1/merchant/service`);
